import { request, config } from 'utils'

const { api } = config
const {
  MaintenanceIndicators,
  MaintenanceAnalysis,
  MaintenanceStatistics,
} = api

export function queryIndicators(params) {
  return request({ url: MaintenanceIndicators, params})
}

export function queryAnalysis(params) {
  return request({ url:MaintenanceAnalysis, params })
}

export function queryStatistics(params) {
  return request({ url:MaintenanceStatistics, params })
}